﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Imaginecup.factory;
using Imaginecup.gameState.malaria.stage;
using Imaginecup.stage;

namespace Imaginecup.gameState.malaria.stageMan
{
    public class MalariaStageFactory:IFactory
    {
        public Object GetObject(Object ID)
        {
            StageEnum stageEnum = (StageEnum)ID;
            switch( stageEnum )
            {
                case StageEnum.ChoiceStage:
                    return ChoiceStage.GetChoiceStage();
                case StageEnum.Stage1:
                   // TestFactoryStage stage1 = new TestFactoryStage();
                    Stage1 stage1 = new Stage1();
                    return stage1;
                case StageEnum.Stage2:
                    Stage2 stage2 = new Stage2();
                    return stage2;
                case StageEnum.Stage3:
                    Stage3 stage3 = new Stage3();
                    return stage3;
                case StageEnum.Stage4:
                    Stage4 stage4 = new Stage4();
                    return stage4;
                case StageEnum.Stage5:
                    Stage5 stage5 = new Stage5();
                    return stage5;
                case StageEnum.Stage6:
                    Stage6 stage6 = new Stage6();
                    return stage6;
                case StageEnum.Stage7:
                    Stage7 stage7 = new Stage7();
                    return stage7;
                case StageEnum.Stage8:
                    Stage8 stage8 = new Stage8();
                    return stage8;
                case StageEnum.Stage9:
                    Stage9 stage9 = new Stage9();
                    return stage9;
                case StageEnum.Stage10:
                    Stage10 stage10 = new Stage10();
                    return stage10;

            }
            return null;
        }
    }
}
